<?php
// Library File
include 'lib/library.php';

$title = 'Donate';
$subtitle = 'Donate an item to the NPE Community';

$content .= '
	<div class="form">
	    ';
		include $rel_addr.'/handle/donate_handle.php';
$content .='

		
		<form enctype="multipart/form-data" action="'.$addr.this_page().'" method="POST">
		
		<div class="middle">
			<P>Fields with the <img src="'.$addr.'/imgs/8px-Asterisk.png" /> symbol are required fields.</P>
		</div>
		
		
		<div class="required">
			<P>
			<label for="name">Name: </label><input type="text" size="20" id="name" name="name" />
			<span class="formhelp">
			<P>Please Provide an accurate name for the item you are about to donate.</P>
			</span>
			</P>
		</div>
			
		
		
		<div class="required">
			<P>
			<label for="description">Description: </label><br />
			<textarea cols="30" rows="3" id="description" name="description"></textarea>
			<span class="formhelp">
			<P>Describe the item you are putting up to donate in a one or two sentences.</P>
			</span>
			</P>
		</div>
		
		<div>
			<P>
			<label for="tags">Tags: </label><br />
			<textarea cols="30" rows="2" id="tags" name="tags"></textarea>
			<span class="formhelp">
			<P>Add tags for this item. Insert a comma(,) between different tags. I.E. computer, printer, office supplies.</P>
			</span>
			</P>
		</div>
		
		<input type="hidden" name="MAX_FILE_SIZE" value="307200" />
		
		<div>
			<P>
			<label for="image">Image: </label>
			<input type="file" id="image" name="image" />
			<span class="formhelp">
			<P>Upload an image of this item. Maximum image size is 300 kilobytes.</P>
			</span>
			</P>
		</div>
		
		<br /><br /><br />
		
		<input type="submit" class="submit" onclick="ajaxFunction()" name="submit" value="Donate" />
		</form>
	</div>
	
';

/*
**   P U T    V A R S
**    O N    P A G E
*/
	head($title,$style,$scripts);
	body($header,$personal,$subtitle,$content,$navigation);
	foot($footer,$dbc);
?>
